﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using CellphoneRepair.DAL;

namespace CellphoneRepair.Entities
{
    public class Repairlist
    {
        [Key]
        [DisplayName("订单ID")]
        public string Idlist { get; set; }

        [DisplayName("客户ID")]
        public string Idkehu { get; set; }

        [DisplayName("订单产生日期")]
        public DateTime Ddrq { get; set; }
    }

    public class RepairlistBll : DBCommon<Repairlist>
    {
        public override string TableName
        {
            get { return "Repairlist"; }
        }

        public override string PrimaryKey
        {
            get { return "Idlist"; }
        }

        public override string ConnKey
        {
            get { return "default"; }
        }

        public override string ParaF
        {
            get { return "@"; }
        }
    }
}